package com.cys.dm.client.item;

import com.cys.dm.entity.item.DmCinema;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import javax.websocket.server.PathParam;

@FeignClient(name = "dm-item-provider")
@Component
public interface DmCinemaClient {
    @PostMapping(path = "/findByID")
    public DmCinema findById(@RequestParam("cinemaId") Long cinemaId);
}
